package com.cw.jeeyt.service.intf.process;

import java.util.List;

import com.cw.jeeyt.common.Order;
import com.cw.jeeyt.service.bo.process.ActDeModelRelationBo;
import com.cw.lang.mybatis.dto.PageInfo;

/**
 * 流程定义模型关联业务接口
 *
 * @author chenw
 * @date 2019-03-10 21:47:04
 */
public interface ActDeModelRelationService {
    /**
     * 查询所有流程定义模型关联列表信息
     */
    List<ActDeModelRelationBo> queryActDeModelRelationList() throws Exception;

    /**
     * 删除流程定义模型关联
     *
     * @param actDeModelRelationBo
     */
    void delete(ActDeModelRelationBo actDeModelRelationBo) throws Exception;

    /**
     * 更新流程定义模型关联
     *
     * @param actDeModelRelationBo
     */
    void update(ActDeModelRelationBo actDeModelRelationBo) throws Exception;

    /**
     * 更新流程定义模型关联不为空的字段
     *
     * @param actDeModelRelationBo
     */
    void updateSelective(ActDeModelRelationBo actDeModelRelationBo) throws Exception;

    /**
     * 根据主键查询流程定义模型关联
     *
     * @return
     */
    ActDeModelRelationBo getActDeModelRelationById(String id) throws Exception;

    /**
     * 新增流程定义模型关联
     *
     * @param actDeModelRelationBo
     * @return
     */
    Integer insert(ActDeModelRelationBo actDeModelRelationBo) throws Exception;

    /**
     * 新增流程定义模型关联不为空的字段
     *
     * @param actDeModelRelationBo
     * @return
     */
    Integer insertSelective(ActDeModelRelationBo actDeModelRelationBo) throws Exception;

    /**
     * 分页查询流程定义模型关联
     *
     * @param actDeModelRelationBo
     * @param startNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    PageInfo<ActDeModelRelationBo> queryByPage(ActDeModelRelationBo actDeModelRelationBo, Integer startNum,
        Integer pageSize, Order order) throws Exception;
}
